﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ctrLeftMenu.ascx.cs" Inherits="CMS.ctrLeftMenu" %>
<%@ Register assembly="AMF" namespace="Mobile.WebControls" tagprefix="mob" %>
<%@ Import Namespace="Common" %>
 <%--<mob:MobilePage ID="mbPage1" runat="server">
        <Header>
            <h1>Dịch vụ di động</h1>
        </Header>
        <Content>
            <p>Hệ thống cung cấp dịch vụ miễn phí</p>
            <p>
            <mob:IconLinkButton ID="LinkButton1" runat="server" Text="Trang chủ" Url="Index.aspx" Icon="Grid"/>
            <mob:IconLinkButton ID="LinkButton2" runat="server" Text="Tin tức" Url="Index.aspx?Content=News" />
            <mob:IconLinkButton ID="LinkButton3" runat="server" Text="Truyện cười" Url="Index.aspx?Content=Funny"/>
            <mob:IconLinkButton ID="LinkButton4" runat="server" Text="Download tranh" Url="Index.aspx?Content=DlManga"/>
            <mob:IconLinkButton ID="LinkButton5" runat="server" Text="Music" Url="Index.aspx?Content=Music"/>
            <mob:IconLinkButton ID="LinkButton6" runat="server" Text="Download Game" Url="Index.aspx?Content=Game"/>
            </p>
        </Content>
        <Footer>
            <h1>Bản quyền thuộc công ty cổ phần dịch vụ mới</h1>
            <br />LH:098.353.578.4
            <br />Email:Tiendat842000@yahoo.com
        </Footer>
    </mob:MobilePage>--%>
    <mob:MobilePage ID="mbCountryList" HeaderPosition="Fixed" FooterPosition="Fixed" Theme="B" runat="server">
       
        <Content>
            <mob:ListView ID="lv" runat="server">
                 <ItemTemplate>  
                    <mob:LinkContainer ID="LinkContainer1" ForceToReload="true" Url="<%# GetUrl(((LstMenu)Container.DataItem).Key) %>" runat="server" DataItem="<%# (Container.DataItem)%>">
                        <Content>
                        <mob:IconListViewItem ID="IconListViewItem1" Source="<%# GetImageUrl(((LstMenu)Container.DataItem).IconName) %>" runat="server"/>
                        <%# ((LstMenu)Container.DataItem).Name%>
                        
                        </Content>
                    </mob:LinkContainer>
                </ItemTemplate>
            </mob:ListView>
        </Content>
       
    </mob:MobilePage>